package com.linksfield.topup.entity.interfaces.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 这边是一个response时公共的一个折线图的内容返回实体
 * <p>
 * 返回折线图上所需的内容
 * name=名称；
 * type=线形
 * data=数据
 *
 * @author: lm
 * @date: 2020-04-21 10:33
 */
@Data
public class ContentLineChart implements Serializable {

    private static final long serialVersionUID = 5151174913563802196L;

    @ApiModelProperty(value = "折线图的名称：每个线代表的内容", example = "", dataType = "String")
    private String name;

    @ApiModelProperty(value = "折线图类型：line是线性", example = "", dataType = "String")
    private String type;

    @ApiModelProperty(value = "折线上的内容：data是数据，值", example = "\"data\":[\"2\",\"2\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"2\",\"0\",\"0\",\"0\",\"2\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"]", dataType = "String")
    private String[] data;


}
